home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Low Level Languages / FORTRAN.500 / DISK5 / DOS / EXECMSG.AS$ / EXECMSG.bin
Encoding:
Text File  |  1989-09-27  |  1.3 KB  |  59 lines

  1.     page    ,132
  2.     title    execmsg.asm - exec messages
  3. ;***
  4. ;execmsg.asm - exec error messages
  5. ;
  6. ;    Copyright (c) 1987-1990, Microsoft Corporation.  All rights reserved.
  7. ;
  8. ;Purpose:
  9. ;    error messages used with exec*() library functions
  10. ;    (and spawn*() functions with P_OVERLAY).
  11. ;
  12. ;*******************************************************************************
  13.  
  14.  
  15. ?DF=    1            ; this is special to define segments
  16. include version.inc
  17. .xlist
  18. include cmacros.inc
  19. include rterr.inc
  20. .list
  21.  
  22. createSeg HDR,    nhdr,    byte,    public, MSG,    DGROUP
  23. createSeg MSG,    nmsg,    byte,    public, MSG,    DGROUP
  24. createSeg PAD,    npad,    byte,    common, MSG,    DGROUP
  25. createSeg EPAD, nepad,    byte,    common, MSG,    DGROUP
  26.  
  27. defGrp    DGROUP            ; define DGROUP
  28.  
  29.  
  30. public    __execmsg
  31. __execmsg= 9876h
  32.  
  33. ;    Messages used by doexec.asm
  34.  
  35. sBegin    nmsg
  36. assumes ds,data
  37.  
  38. ;
  39. ;    WARNING - Doexec.asm expects these three messages to be together
  40. ;          these messages must always have '$' on the end
  41. ;          (the _RTERR macrotakes care of this).
  42.  
  43.  
  44.     _RTERR    _RT_EXECMEM, 'not enough memory on exec', _RT_DOLLAR
  45.     _RTERR    _RT_EXECFORM, 'invalid format on exec', _RT_DOLLAR
  46.     _RTERR    _RT_EXECENV, 'invalid environment on exec', _RT_DOLLAR
  47.  
  48. sEnd
  49.  
  50. sBegin    npad
  51. assumes ds,data
  52.     dw    -1
  53. ; no padding for now;
  54. ; MAX padding would be
  55. ;    db    72 dup(0)
  56. sEnd
  57.  
  58.     end
  59.